import cv2
import numpy as py
import matplotlib.pyplot as plt 
image=cv2.imread('Gutenberg_Bible,_Lenox_Copy,_New_York_Public_Library,_2009._Pic_01.jpeg')
if image is None:
    print("wrong")
else:
    image=cv2.resize(image,(0,0),fx=0.5,fy=0.5)
    v1=cv2.Canny(image,50,150)
    v2=cv2.Canny(image,25,150)
    v3=py.hstack((v1,v2))
    cv2.imshow("image",v3)
    cv2.waitKey(0)
    cv2.destroyAllWindows()